﻿#ifndef __GameHall__GNS_Sendgold__
#define __GameHall__GNS_Sendgold__

#include "cocos2d.h"
#include "cocostudio/CocoStudio.h"
#include "ui/CocosGUI.h"
#include "GNS_YJFLayer.h"

USING_NS_CC;
using namespace cocostudio::timeline;
using namespace ui;

class GNS_SendGoldWnd : public GNS_YJFLayer
{
public:
	GNS_SendGoldWnd();
	~GNS_SendGoldWnd();
	static GNS_SendGoldWnd* createLayer(std::string CsbName);
	virtual bool init();
	CREATE_FUNC(GNS_SendGoldWnd);
	void BtnCallBack(Ref *pSender, ui::Widget::TouchEventType type);
	void SetNodeName(std::string CsbName);
	long long getImputNum();
	string getInputString();
	Button* m_submitBT = nullptr;
	Button* m_cancleBT = nullptr;
	TextField *m_imputText = nullptr;
	TextField *m_imputgoldNum = nullptr;
};

#endif /* defined(__GameHall__GNS_Sendgold__) */